package com.gongpingjialoan.bean;

import com.gongpingjialoan.utility.Perference;

import java.io.Serializable;

public class AssessmentData extends Perference implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 1L;

    static AssessmentData assessmentData;

    // 品牌名(英文)
    public String brandSlug = "";

    // 品牌名
    public String brandName = "";

    // 型号名(英文)
    public String modelSlug = "";

    // 型号名称
    public String modelName = "";

    public String modelThumbnail = "";

    // 车辆具体型号(英文)
    public String modelDetailSlug = "";

    // 车辆具体型号
    public String modelDetailName = "";

    // 上牌年份
    public String year = "";

    // 上牌月份
    public String month = "";

    // 里程数
    public String mile = "";

    public String intent = "";

    public String city = "";

    // 车源ID
    public String car_id = "";


    /**
     * 1、卖给车商 2、拍卖 3、4s 4、个人
     */
    // 交易类型
    public int type;
    public boolean from;
    // 车源状态
    public String status;

    private String message;

    private String firstPath;

    private String secondPath;

    private String thirdPath;

    private String pricetype;

    private String dealers;

    private String new_brand;

    private String new_model;

    private String new_model_detail;


    public String getPricetype() {
        return pricetype;
    }

    public void setPricetype(String pricetype) {
        this.pricetype = pricetype;
    }

    public String getDealers() {
        return dealers;
    }

    public void setDealers(String dealers) {
        this.dealers = dealers;
    }

    public String getNew_brand() {
        return new_brand;
    }

    public void setNew_brand(String new_brand) {
        this.new_brand = new_brand;
    }

    public String getNew_model() {
        return new_model;
    }

    public void setNew_model(String new_model) {
        this.new_model = new_model;
    }

    public String getNew_model_detail() {
        return new_model_detail;
    }

    public void setNew_model_detail(String new_model_detail) {
        this.new_model_detail = new_model_detail;
    }

    public String getEval_price() {
        return eval_price;
    }

    public void setEval_price(String eval_price) {
        this.eval_price = eval_price;
    }

    private String eval_price;

    public static AssessmentData getInstance() {
        if (assessmentData == null) {
            assessmentData = new AssessmentData();
        }
        return assessmentData;
    }

    public void clear() {
        // 品牌名(英文)
         brandSlug = "";

        // 品牌名
         brandName = "";

        // 型号名(英文)
         modelSlug = "";

        // 型号名称
         modelName = "";

         modelThumbnail = "";

        // 车辆具体型号(英文)
         modelDetailSlug = "";

        // 车辆具体型号
         modelDetailName = "";

        // 上牌年份
         year = "";

        // 上牌月份
         month = "";

        // 里程数
         mile = "";

         intent = "";

         city = "";

        // 车源ID
         car_id = "";
    }


    public String getBrandSlug() {
        return brandSlug;
    }

    public void setBrandSlug(String brandSlug) {
        this.brandSlug = brandSlug;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getModelSlug() {
        return modelSlug;
    }

    public void setModelSlug(String modelSlug) {
        this.modelSlug = modelSlug;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public String getModelThumbnail() {
        return modelThumbnail;
    }

    public void setModelThumbnail(String modelThumbnail) {
        this.modelThumbnail = modelThumbnail;
    }

    public String getModelDetailSlug() {
        return modelDetailSlug;
    }

    public void setModelDetailSlug(String modelDetailSlug) {
        this.modelDetailSlug = modelDetailSlug;
    }

    public String getModelDetailName() {
        return modelDetailName;
    }

    public void setModelDetailName(String modelDetailName) {
        this.modelDetailName = modelDetailName;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getMile() {
        return mile;
    }

    public void setMile(String mile) {
        this.mile = mile;
    }

    public String getIntent() {
        return intent;
    }

    public void setIntent(String intent) {
        this.intent = intent;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCar_id() {
        return car_id;
    }

    public void setCar_id(String car_id) {
        this.car_id = car_id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFirstPath() {
        return firstPath;
    }

    public void setFirstPath(String firstPath) {
        this.firstPath = firstPath;
    }

    public String getSecondPath() {
        return secondPath;
    }

    public void setSecondPath(String secondPath) {
        this.secondPath = secondPath;
    }

    public String getThirdPath() {
        return thirdPath;
    }

    public void setThirdPath(String thirdPath) {
        this.thirdPath = thirdPath;
    }
}
